package com.BlogPark.service.FeedbackService;

import com.BlogPark.pojo.Feedback;

import java.util.List;

/**
 * 客户反馈管理
 */
public interface FeedbackService {
    //添加反馈
    public int addFeedback(Feedback feedback);
    //按时间降序查询
    public List<Feedback> showFeedback();
    //删除对应id的反馈
    public int deleteFeedback(Integer id);
    //根据用户id查询改用户所有反馈
    public List<Feedback> showFeedbackByUserId(Integer userId);
}
